//auto gen by paipai.java.augogen ver 3.0.0
//author skyzhuang
//source idl: com.erp.storage.dao.idl.GetDisassembleBillListReq.java


#ifndef ERP_STORAGE_DDO_CDISASSEMBLEBILLFILTERDDO_BY_AUTOGEN_V5_H
#define ERP_STORAGE_DDO_CDISASSEMBLEBILLFILTERDDO_BY_AUTOGEN_V5_H


#include "app_platform/intf_serializable.h"
#include <set>
#include <map>
#include <string>
#include <sstream>
#include <iostream>


namespace erp
{
namespace storage
{
namespace ddo
{


class CDisassembleBillFilterDdo : public ISerializable
{
	public:
		std::string m_sLastErrMsg;///<错误信息

		/**
		 *  版本号   
		 *
		 * 版本 >= 0
		 */
		uint32_t dwVersion;

		/**
		 * cVersion_u uflag field
		 */
		uint8_t cVersion_u; //optional flag

		/**
		 *  页码，从0开始 
		 *
		 * 版本 >= 0
		 */
		uint32_t dwPage;

		/**
		 * cPage_u uflag field
		 */
		uint8_t cPage_u; //optional flag

		/**
		 *  页面大小 
		 *
		 * 版本 >= 0
		 */
		uint32_t dwPageSize;

		/**
		 * cPageSize_u uflag field
		 */
		uint8_t cPageSize_u; //optional flag

		/**
		 *  排序方式 
		 *
		 * 版本 >= 0
		 */
		uint16_t wOrderType;

		/**
		 * cOrderType_u uflag field
		 */
		uint8_t cOrderType_u; //optional flag

		/**
		 * Id列表，若填写则其他过滤条件无效
		 *
		 * 版本 >= 0
		 */
		std::set<uint32_t>  setIdList;

		/**
		 * cIdList_u uflag field
		 */
		uint8_t cIdList_u; //optional flag

		/**
		 * 仓储业务单据Sysno
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwStockBillMasterSysno;

		/**
		 * cStockBillMasterSysno_u uflag field
		 */
		uint8_t cStockBillMasterSysno_u; //optional flag

		/**
		 * 仓库SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwStockSysNo;

		/**
		 * cStockSysNo_u uflag field
		 */
		uint8_t cStockSysNo_u; //optional flag

		/**
		 * 商品SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwProductSysNo;

		/**
		 * cProductSysNo_u uflag field
		 */
		uint8_t cProductSysNo_u; //optional flag

		/**
		 * 分支机构SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwBranchSysNo;

		/**
		 * cBranchSysNo_u uflag field
		 */
		uint8_t cBranchSysNo_u; //optional flag

		/**
		 * 数量
		 *
		 * 版本 >= 0
		 */
		uint32_t dwQty;

		/**
		 * cQty_u uflag field
		 */
		uint8_t cQty_u; //optional flag

		/**
		 * 拆装类型
		 *
		 * 版本 >= 0
		 */
		uint16_t wDisassemblebillType;

		/**
		 * cDisassemblebillType_u uflag field
		 */
		uint8_t cDisassemblebillType_u; //optional flag

		/**
		 * 过账时间
		 *
		 * 版本 >= 0
		 */
		uint32_t dwCheckTime;

		/**
		 * cCheckTime_u uflag field
		 */
		uint8_t cCheckTime_u; //optional flag

		/**
		 * 创建时间
		 *
		 * 版本 >= 0
		 */
		uint32_t dwRowCreatDate;

		/**
		 * cRowCreatDate_u uflag field
		 */
		uint8_t cRowCreatDate_u; //optional flag

		/**
		 * 创建人SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwCreatorSysNo;

		/**
		 * cCreatorSysNo_u uflag field
		 */
		uint8_t cCreatorSysNo_u; //optional flag

		/**
		 * 修改人SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwModifyUserSysNo;

		/**
		 * cModifyUserSysNo_u uflag field
		 */
		uint8_t cModifyUserSysNo_u; //optional flag

		/**
		 * 修改时间
		 *
		 * 版本 >= 0
		 */
		uint32_t dwModifyTime;

		/**
		 * cModifyTime_u uflag field
		 */
		uint8_t cModifyTime_u; //optional flag

		/**
		 *  状态
		 *
		 * 版本 >= 0
		 */
		uint32_t dwStatus;

		/**
		 * cStatus_u uflag field
		 */
		uint8_t cStatus_u; //optional flag

		/**
		 *  属性
		 *
		 * 版本 >= 0
		 */
		std::set<uint64_t>  setProperty;

		/**
		 * cProperty_u uflag field
		 */
		uint8_t cProperty_u; //optional flag

		/**
		 *  扩展
		 *
		 * 版本 >= 0
		 */
		std::map<std::string,std::string>  mapExtern;

		/**
		 * cExtern_u uflag field
		 */
		uint8_t cExtern_u; //optional flag




	public:
		CDisassembleBillFilterDdo():
		dwVersion(0),
		cVersion_u(0),
		dwPage(0),
		cPage_u(0),
		dwPageSize(0),
		cPageSize_u(0),
		wOrderType(0),
		cOrderType_u(0),
		cIdList_u(0),
		ddwStockBillMasterSysno(0),
		cStockBillMasterSysno_u(0),
		ddwStockSysNo(0),
		cStockSysNo_u(0),
		ddwProductSysNo(0),
		cProductSysNo_u(0),
		ddwBranchSysNo(0),
		cBranchSysNo_u(0),
		dwQty(0),
		cQty_u(0),
		wDisassemblebillType(0),
		cDisassemblebillType_u(0),
		dwCheckTime(0),
		cCheckTime_u(0),
		dwRowCreatDate(0),
		cRowCreatDate_u(0),
		ddwCreatorSysNo(0),
		cCreatorSysNo_u(0),
		ddwModifyUserSysNo(0),
		cModifyUserSysNo_u(0),
		dwModifyTime(0),
		cModifyTime_u(0),
		dwStatus(0),
		cStatus_u(0),
		cProperty_u(0),
		cExtern_u(0) {}
				CDisassembleBillFilterDdo& operator = (const CDisassembleBillFilterDdo& obj){

			this->dwVersion = obj.dwVersion;
			this->dwPage = obj.dwPage;
			this->dwPageSize = obj.dwPageSize;
			this->wOrderType = obj.wOrderType;
			this->setIdList = obj.setIdList;
			this->ddwStockBillMasterSysno = obj.ddwStockBillMasterSysno;
			this->ddwStockSysNo = obj.ddwStockSysNo;
			this->ddwProductSysNo = obj.ddwProductSysNo;
			this->ddwBranchSysNo = obj.ddwBranchSysNo;
			this->dwQty = obj.dwQty;
			this->wDisassemblebillType = obj.wDisassemblebillType;
			this->dwCheckTime = obj.dwCheckTime;
			this->dwRowCreatDate = obj.dwRowCreatDate;
			this->ddwCreatorSysNo = obj.ddwCreatorSysNo;
			this->ddwModifyUserSysNo = obj.ddwModifyUserSysNo;
			this->dwModifyTime = obj.dwModifyTime;
			this->dwStatus = obj.dwStatus;
			this->setProperty = obj.setProperty;
			this->mapExtern = obj.mapExtern;
			this->cVersion_u = obj.cVersion_u;
			this->cPage_u = obj.cPage_u;
			this->cPageSize_u = obj.cPageSize_u;
			this->cOrderType_u = obj.cOrderType_u;
			this->cIdList_u = obj.cIdList_u;
			this->cStockBillMasterSysno_u = obj.cStockBillMasterSysno_u;
			this->cStockSysNo_u = obj.cStockSysNo_u;
			this->cProductSysNo_u = obj.cProductSysNo_u;
			this->cBranchSysNo_u = obj.cBranchSysNo_u;
			this->cQty_u = obj.cQty_u;
			this->cDisassemblebillType_u = obj.cDisassemblebillType_u;
			this->cCheckTime_u = obj.cCheckTime_u;
			this->cRowCreatDate_u = obj.cRowCreatDate_u;
			this->cCreatorSysNo_u = obj.cCreatorSysNo_u;
			this->cModifyUserSysNo_u = obj.cModifyUserSysNo_u;
			this->cModifyTime_u = obj.cModifyTime_u;
			this->cStatus_u = obj.cStatus_u;
			this->cProperty_u = obj.cProperty_u;
			this->cExtern_u = obj.cExtern_u;
			return *this;
		}

	public:


		/**
		 * 是否设置 版本号   了
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 bool  IsVersionSet() const{
				 return  cVersion_u != 0;
		}


		/**
		 * 获取uflag 版本号   了
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 const uint8_t   GetVersionUFlag() const{
				 return  cVersion_u;
		}


		/**
		 * 设置 版本号   
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 void  SetVersion( const uint32_t& sVal, uint8_t cUFlag=1){
				dwVersion = sVal;
				cVersion_u = cUFlag;
		}


		/**
		 * 获取 版本号   
		 * 
		 * @return dwVersion value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetVersion() const {
				return dwVersion;
		}


		/**
		 * 是否设置 页码，从0开始 了
		 * 
		 * @param uint32_t:dwPage
		 *  
		 * 
		 */
		 bool  IsPageSet() const{
				 return  cPage_u != 0;
		}


		/**
		 * 获取uflag 页码，从0开始 了
		 * 
		 * @param uint32_t:dwPage
		 *  
		 * 
		 */
		 const uint8_t   GetPageUFlag() const{
				 return  cPage_u;
		}


		/**
		 * 设置 页码，从0开始 
		 * 
		 * @param uint32_t:dwPage
		 *  
		 * 
		 */
		 void  SetPage( const uint32_t& sVal, uint8_t cUFlag=1){
				dwPage = sVal;
				cPage_u = cUFlag;
		}


		/**
		 * 获取 页码，从0开始 
		 * 
		 * @return dwPage value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetPage() const {
				return dwPage;
		}


		/**
		 * 是否设置 页面大小 了
		 * 
		 * @param uint32_t:dwPageSize
		 *  
		 * 
		 */
		 bool  IsPageSizeSet() const{
				 return  cPageSize_u != 0;
		}


		/**
		 * 获取uflag 页面大小 了
		 * 
		 * @param uint32_t:dwPageSize
		 *  
		 * 
		 */
		 const uint8_t   GetPageSizeUFlag() const{
				 return  cPageSize_u;
		}


		/**
		 * 设置 页面大小 
		 * 
		 * @param uint32_t:dwPageSize
		 *  
		 * 
		 */
		 void  SetPageSize( const uint32_t& sVal, uint8_t cUFlag=1){
				dwPageSize = sVal;
				cPageSize_u = cUFlag;
		}


		/**
		 * 获取 页面大小 
		 * 
		 * @return dwPageSize value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetPageSize() const {
				return dwPageSize;
		}


		/**
		 * 是否设置 排序方式 了
		 * 
		 * @param uint16_t:wOrderType
		 *  
		 * 
		 */
		 bool  IsOrderTypeSet() const{
				 return  cOrderType_u != 0;
		}


		/**
		 * 获取uflag 排序方式 了
		 * 
		 * @param uint16_t:wOrderType
		 *  
		 * 
		 */
		 const uint8_t   GetOrderTypeUFlag() const{
				 return  cOrderType_u;
		}


		/**
		 * 设置 排序方式 
		 * 
		 * @param uint16_t:wOrderType
		 *  
		 * 
		 */
		 void  SetOrderType( const uint16_t& sVal, uint8_t cUFlag=1){
				wOrderType = sVal;
				cOrderType_u = cUFlag;
		}


		/**
		 * 获取 排序方式 
		 * 
		 * @return wOrderType value 类型为:uint16_t
		 * 
		 */
		 const uint16_t&  GetOrderType() const {
				return wOrderType;
		}


		/**
		 * 是否设置Id列表，若填写则其他过滤条件无效了
		 * 
		 * @param std::set<uint32_t> :setIdList
		 *  
		 * 
		 */
		 bool  IsIdListSet() const{
				 return  cIdList_u != 0;
		}


		/**
		 * 获取uflagId列表，若填写则其他过滤条件无效了
		 * 
		 * @param std::set<uint32_t> :setIdList
		 *  
		 * 
		 */
		 const uint8_t   GetIdListUFlag() const{
				 return  cIdList_u;
		}


		/**
		 * 设置Id列表，若填写则其他过滤条件无效
		 * 
		 * @param std::set<uint32_t> :setIdList
		 *  
		 * 
		 */
		 void  SetIdList( const std::set<uint32_t> & sVal, uint8_t cUFlag=1){
				setIdList = sVal;
				cIdList_u = cUFlag;
		}


		/**
		 * 获取Id列表，若填写则其他过滤条件无效
		 * 
		 * @return setIdList value 类型为:std::set<uint32_t> 
		 * 
		 */
		 const std::set<uint32_t> &  GetIdList() const {
				return setIdList;
		}


		/**
		 * 获取Id列表，若填写则其他过滤条件无效
		 * 
		 * @return setIdList value 类型为:std::set<uint32_t> 
		 * 
		 */
		 std::set<uint32_t> &  GetIdList() {
				return setIdList;
		}


		/**
		 * 是否设置仓储业务单据Sysno了
		 * 
		 * @param uint64_t:ddwStockBillMasterSysno
		 *  
		 * 
		 */
		 bool  IsStockBillMasterSysnoSet() const{
				 return  cStockBillMasterSysno_u != 0;
		}


		/**
		 * 获取uflag仓储业务单据Sysno了
		 * 
		 * @param uint64_t:ddwStockBillMasterSysno
		 *  
		 * 
		 */
		 const uint8_t   GetStockBillMasterSysnoUFlag() const{
				 return  cStockBillMasterSysno_u;
		}


		/**
		 * 设置仓储业务单据Sysno
		 * 
		 * @param uint64_t:ddwStockBillMasterSysno
		 *  
		 * 
		 */
		 void  SetStockBillMasterSysno( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwStockBillMasterSysno = sVal;
				cStockBillMasterSysno_u = cUFlag;
		}


		/**
		 * 获取仓储业务单据Sysno
		 * 
		 * @return ddwStockBillMasterSysno value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetStockBillMasterSysno() const {
				return ddwStockBillMasterSysno;
		}


		/**
		 * 是否设置仓库SysNo了
		 * 
		 * @param uint64_t:ddwStockSysNo
		 *  
		 * 
		 */
		 bool  IsStockSysNoSet() const{
				 return  cStockSysNo_u != 0;
		}


		/**
		 * 获取uflag仓库SysNo了
		 * 
		 * @param uint64_t:ddwStockSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetStockSysNoUFlag() const{
				 return  cStockSysNo_u;
		}


		/**
		 * 设置仓库SysNo
		 * 
		 * @param uint64_t:ddwStockSysNo
		 *  
		 * 
		 */
		 void  SetStockSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwStockSysNo = sVal;
				cStockSysNo_u = cUFlag;
		}


		/**
		 * 获取仓库SysNo
		 * 
		 * @return ddwStockSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetStockSysNo() const {
				return ddwStockSysNo;
		}


		/**
		 * 是否设置商品SysNo了
		 * 
		 * @param uint64_t:ddwProductSysNo
		 *  
		 * 
		 */
		 bool  IsProductSysNoSet() const{
				 return  cProductSysNo_u != 0;
		}


		/**
		 * 获取uflag商品SysNo了
		 * 
		 * @param uint64_t:ddwProductSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetProductSysNoUFlag() const{
				 return  cProductSysNo_u;
		}


		/**
		 * 设置商品SysNo
		 * 
		 * @param uint64_t:ddwProductSysNo
		 *  
		 * 
		 */
		 void  SetProductSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwProductSysNo = sVal;
				cProductSysNo_u = cUFlag;
		}


		/**
		 * 获取商品SysNo
		 * 
		 * @return ddwProductSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetProductSysNo() const {
				return ddwProductSysNo;
		}


		/**
		 * 是否设置分支机构SysNo了
		 * 
		 * @param uint64_t:ddwBranchSysNo
		 *  
		 * 
		 */
		 bool  IsBranchSysNoSet() const{
				 return  cBranchSysNo_u != 0;
		}


		/**
		 * 获取uflag分支机构SysNo了
		 * 
		 * @param uint64_t:ddwBranchSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetBranchSysNoUFlag() const{
				 return  cBranchSysNo_u;
		}


		/**
		 * 设置分支机构SysNo
		 * 
		 * @param uint64_t:ddwBranchSysNo
		 *  
		 * 
		 */
		 void  SetBranchSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwBranchSysNo = sVal;
				cBranchSysNo_u = cUFlag;
		}


		/**
		 * 获取分支机构SysNo
		 * 
		 * @return ddwBranchSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetBranchSysNo() const {
				return ddwBranchSysNo;
		}


		/**
		 * 是否设置数量了
		 * 
		 * @param uint32_t:dwQty
		 *  
		 * 
		 */
		 bool  IsQtySet() const{
				 return  cQty_u != 0;
		}


		/**
		 * 获取uflag数量了
		 * 
		 * @param uint32_t:dwQty
		 *  
		 * 
		 */
		 const uint8_t   GetQtyUFlag() const{
				 return  cQty_u;
		}


		/**
		 * 设置数量
		 * 
		 * @param uint32_t:dwQty
		 *  
		 * 
		 */
		 void  SetQty( const uint32_t& sVal, uint8_t cUFlag=1){
				dwQty = sVal;
				cQty_u = cUFlag;
		}


		/**
		 * 获取数量
		 * 
		 * @return dwQty value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetQty() const {
				return dwQty;
		}


		/**
		 * 是否设置拆装类型了
		 * 
		 * @param uint16_t:wDisassemblebillType
		 *  
		 * 
		 */
		 bool  IsDisassemblebillTypeSet() const{
				 return  cDisassemblebillType_u != 0;
		}


		/**
		 * 获取uflag拆装类型了
		 * 
		 * @param uint16_t:wDisassemblebillType
		 *  
		 * 
		 */
		 const uint8_t   GetDisassemblebillTypeUFlag() const{
				 return  cDisassemblebillType_u;
		}


		/**
		 * 设置拆装类型
		 * 
		 * @param uint16_t:wDisassemblebillType
		 *  
		 * 
		 */
		 void  SetDisassemblebillType( const uint16_t& sVal, uint8_t cUFlag=1){
				wDisassemblebillType = sVal;
				cDisassemblebillType_u = cUFlag;
		}


		/**
		 * 获取拆装类型
		 * 
		 * @return wDisassemblebillType value 类型为:uint16_t
		 * 
		 */
		 const uint16_t&  GetDisassemblebillType() const {
				return wDisassemblebillType;
		}


		/**
		 * 是否设置过账时间了
		 * 
		 * @param uint32_t:dwCheckTime
		 *  
		 * 
		 */
		 bool  IsCheckTimeSet() const{
				 return  cCheckTime_u != 0;
		}


		/**
		 * 获取uflag过账时间了
		 * 
		 * @param uint32_t:dwCheckTime
		 *  
		 * 
		 */
		 const uint8_t   GetCheckTimeUFlag() const{
				 return  cCheckTime_u;
		}


		/**
		 * 设置过账时间
		 * 
		 * @param uint32_t:dwCheckTime
		 *  
		 * 
		 */
		 void  SetCheckTime( const uint32_t& sVal, uint8_t cUFlag=1){
				dwCheckTime = sVal;
				cCheckTime_u = cUFlag;
		}


		/**
		 * 获取过账时间
		 * 
		 * @return dwCheckTime value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetCheckTime() const {
				return dwCheckTime;
		}


		/**
		 * 是否设置创建时间了
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 bool  IsRowCreatDateSet() const{
				 return  cRowCreatDate_u != 0;
		}


		/**
		 * 获取uflag创建时间了
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 const uint8_t   GetRowCreatDateUFlag() const{
				 return  cRowCreatDate_u;
		}


		/**
		 * 设置创建时间
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 void  SetRowCreatDate( const uint32_t& sVal, uint8_t cUFlag=1){
				dwRowCreatDate = sVal;
				cRowCreatDate_u = cUFlag;
		}


		/**
		 * 获取创建时间
		 * 
		 * @return dwRowCreatDate value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetRowCreatDate() const {
				return dwRowCreatDate;
		}


		/**
		 * 是否设置创建人SysNo了
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 bool  IsCreatorSysNoSet() const{
				 return  cCreatorSysNo_u != 0;
		}


		/**
		 * 获取uflag创建人SysNo了
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetCreatorSysNoUFlag() const{
				 return  cCreatorSysNo_u;
		}


		/**
		 * 设置创建人SysNo
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 void  SetCreatorSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwCreatorSysNo = sVal;
				cCreatorSysNo_u = cUFlag;
		}


		/**
		 * 获取创建人SysNo
		 * 
		 * @return ddwCreatorSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetCreatorSysNo() const {
				return ddwCreatorSysNo;
		}


		/**
		 * 是否设置修改人SysNo了
		 * 
		 * @param uint64_t:ddwModifyUserSysNo
		 *  
		 * 
		 */
		 bool  IsModifyUserSysNoSet() const{
				 return  cModifyUserSysNo_u != 0;
		}


		/**
		 * 获取uflag修改人SysNo了
		 * 
		 * @param uint64_t:ddwModifyUserSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetModifyUserSysNoUFlag() const{
				 return  cModifyUserSysNo_u;
		}


		/**
		 * 设置修改人SysNo
		 * 
		 * @param uint64_t:ddwModifyUserSysNo
		 *  
		 * 
		 */
		 void  SetModifyUserSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwModifyUserSysNo = sVal;
				cModifyUserSysNo_u = cUFlag;
		}


		/**
		 * 获取修改人SysNo
		 * 
		 * @return ddwModifyUserSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetModifyUserSysNo() const {
				return ddwModifyUserSysNo;
		}


		/**
		 * 是否设置修改时间了
		 * 
		 * @param uint32_t:dwModifyTime
		 *  
		 * 
		 */
		 bool  IsModifyTimeSet() const{
				 return  cModifyTime_u != 0;
		}


		/**
		 * 获取uflag修改时间了
		 * 
		 * @param uint32_t:dwModifyTime
		 *  
		 * 
		 */
		 const uint8_t   GetModifyTimeUFlag() const{
				 return  cModifyTime_u;
		}


		/**
		 * 设置修改时间
		 * 
		 * @param uint32_t:dwModifyTime
		 *  
		 * 
		 */
		 void  SetModifyTime( const uint32_t& sVal, uint8_t cUFlag=1){
				dwModifyTime = sVal;
				cModifyTime_u = cUFlag;
		}


		/**
		 * 获取修改时间
		 * 
		 * @return dwModifyTime value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetModifyTime() const {
				return dwModifyTime;
		}


		/**
		 * 是否设置 状态了
		 * 
		 * @param uint32_t:dwStatus
		 *  
		 * 
		 */
		 bool  IsStatusSet() const{
				 return  cStatus_u != 0;
		}


		/**
		 * 获取uflag 状态了
		 * 
		 * @param uint32_t:dwStatus
		 *  
		 * 
		 */
		 const uint8_t   GetStatusUFlag() const{
				 return  cStatus_u;
		}


		/**
		 * 设置 状态
		 * 
		 * @param uint32_t:dwStatus
		 *  
		 * 
		 */
		 void  SetStatus( const uint32_t& sVal, uint8_t cUFlag=1){
				dwStatus = sVal;
				cStatus_u = cUFlag;
		}


		/**
		 * 获取 状态
		 * 
		 * @return dwStatus value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetStatus() const {
				return dwStatus;
		}


		/**
		 * 是否设置 属性了
		 * 
		 * @param std::set<uint64_t> :setProperty
		 *  
		 * 
		 */
		 bool  IsPropertySet() const{
				 return  cProperty_u != 0;
		}


		/**
		 * 获取uflag 属性了
		 * 
		 * @param std::set<uint64_t> :setProperty
		 *  
		 * 
		 */
		 const uint8_t   GetPropertyUFlag() const{
				 return  cProperty_u;
		}


		/**
		 * 设置 属性
		 * 
		 * @param std::set<uint64_t> :setProperty
		 *  
		 * 
		 */
		 void  SetProperty( const std::set<uint64_t> & sVal, uint8_t cUFlag=1){
				setProperty = sVal;
				cProperty_u = cUFlag;
		}


		/**
		 * 获取 属性
		 * 
		 * @return setProperty value 类型为:std::set<uint64_t> 
		 * 
		 */
		 const std::set<uint64_t> &  GetProperty() const {
				return setProperty;
		}


		/**
		 * 获取 属性
		 * 
		 * @return setProperty value 类型为:std::set<uint64_t> 
		 * 
		 */
		 std::set<uint64_t> &  GetProperty() {
				return setProperty;
		}


		/**
		 * 是否设置 扩展了
		 * 
		 * @param std::map<std::string,std::string> :mapExtern
		 *  
		 * 
		 */
		 bool  IsExternSet() const{
				 return  cExtern_u != 0;
		}


		/**
		 * 获取uflag 扩展了
		 * 
		 * @param std::map<std::string,std::string> :mapExtern
		 *  
		 * 
		 */
		 const uint8_t   GetExternUFlag() const{
				 return  cExtern_u;
		}


		/**
		 * 设置 扩展
		 * 
		 * @param std::map<std::string,std::string> :mapExtern
		 *  
		 * 
		 */
		 void  SetExtern( const std::map<std::string,std::string> & sVal, uint8_t cUFlag=1){
				mapExtern = sVal;
				cExtern_u = cUFlag;
		}


		/**
		 * 获取 扩展
		 * 
		 * @return mapExtern value 类型为:std::map<std::string,std::string> 
		 * 
		 */
		 const std::map<std::string,std::string> &  GetExtern() const {
				return mapExtern;
		}


		/**
		 * 获取 扩展
		 * 
		 * @return mapExtern value 类型为:std::map<std::string,std::string> 
		 * 
		 */
		 std::map<std::string,std::string> &  GetExtern() {
				return mapExtern;
		}

		virtual bool Serialize(CByteStreamNetwork& bs){
		
			uint32_t dwMyLen = 0;
			if(bs.isStoring()) //for write in buffer
			{
				//can not larger than 1 M.
				CByteStreamNetwork bsDummy(NULL, 1024 * 1024, false);
				//bsDummy for precheck the xo size...
				bsDummy.isStoring(true);
				Serialize_i(bsDummy);
				dwMyLen = bsDummy.getWrittenLength();
				bs & dwMyLen;
				Serialize_i(bs);
			}
			else
			{    //for read from buffer
				bs & dwMyLen;
				uint32_t dwReadedLen = bs.getReadLength();
				Serialize_i(bs);
				dwReadedLen = bs.getReadLength() - dwReadedLen;
				// dwReadedLen for the size of xo
				if( dwReadedLen > dwMyLen ){
					return false;
				}
				//go through the unwanted mem position...
				bs.goForward( dwMyLen - dwReadedLen );
			}

			return bs.isGood();
		}

		bool Serialize_i(CByteStreamNetwork& bsTmp){

			bsTmp & dwVersion; // 序列化 版本号    类型为uint32_t
			bsTmp & cVersion_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwPage; // 序列化 页码，从0开始  类型为uint32_t
			bsTmp & cPage_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwPageSize; // 序列化 页面大小  类型为uint32_t
			bsTmp & cPageSize_u; // 序列化uflag 类型为uint8_t
			bsTmp & wOrderType; // 序列化 排序方式  类型为uint16_t
			bsTmp & cOrderType_u; // 序列化uflag 类型为uint8_t
			bsTmp & setIdList; // 序列化Id列表，若填写则其他过滤条件无效 类型为Set
			bsTmp & cIdList_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwStockBillMasterSysno; // 序列化仓储业务单据Sysno 类型为uint64_t
			bsTmp & cStockBillMasterSysno_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwStockSysNo; // 序列化仓库SysNo 类型为uint64_t
			bsTmp & cStockSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwProductSysNo; // 序列化商品SysNo 类型为uint64_t
			bsTmp & cProductSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwBranchSysNo; // 序列化分支机构SysNo 类型为uint64_t
			bsTmp & cBranchSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwQty; // 序列化数量 类型为uint32_t
			bsTmp & cQty_u; // 序列化uflag 类型为uint8_t
			bsTmp & wDisassemblebillType; // 序列化拆装类型 类型为uint16_t
			bsTmp & cDisassemblebillType_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwCheckTime; // 序列化过账时间 类型为uint32_t
			bsTmp & cCheckTime_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwRowCreatDate; // 序列化创建时间 类型为uint32_t
			bsTmp & cRowCreatDate_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwCreatorSysNo; // 序列化创建人SysNo 类型为uint64_t
			bsTmp & cCreatorSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwModifyUserSysNo; // 序列化修改人SysNo 类型为uint64_t
			bsTmp & cModifyUserSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwModifyTime; // 序列化修改时间 类型为uint32_t
			bsTmp & cModifyTime_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwStatus; // 序列化 状态 类型为uint32_t
			bsTmp & cStatus_u; // 序列化uflag 类型为uint8_t
			bsTmp & setProperty; // 序列化 属性 类型为Set
			bsTmp & cProperty_u; // 序列化uflag 类型为uint8_t
			bsTmp & mapExtern; // 序列化 扩展 类型为Map
			bsTmp & cExtern_u; // 序列化uflag 类型为uint8_t
			return bsTmp.isGood();
		}

		const char* GetLastErrMsg() const{
			return m_sLastErrMsg.c_str();
		}

		bool VerifyDisassembleBillFilterDdo(){

			if(!IsVersionSet()){
				m_sLastErrMsg = "Miss Param:version";
				return false;
			}

			if(!IsPageSet()){
				m_sLastErrMsg = "Miss Param:page";
				return false;
			}

			if(!IsPageSizeSet()){
				m_sLastErrMsg = "Miss Param:pageSize";
				return false;
			}

			if(!IsOrderTypeSet()){
				m_sLastErrMsg = "Miss Param:orderType";
				return false;
			}

			if(!IsIdListSet()){
				m_sLastErrMsg = "Miss Param:idList";
				return false;
			}

			if(!IsStockBillMasterSysnoSet()){
				m_sLastErrMsg = "Miss Param:stockBillMasterSysno";
				return false;
			}

			if(!IsStockSysNoSet()){
				m_sLastErrMsg = "Miss Param:stockSysNo";
				return false;
			}

			if(!IsProductSysNoSet()){
				m_sLastErrMsg = "Miss Param:productSysNo";
				return false;
			}

			if(!IsBranchSysNoSet()){
				m_sLastErrMsg = "Miss Param:branchSysNo";
				return false;
			}

			if(!IsQtySet()){
				m_sLastErrMsg = "Miss Param:qty";
				return false;
			}

			if(!IsDisassemblebillTypeSet()){
				m_sLastErrMsg = "Miss Param:disassemblebillType";
				return false;
			}

			if(!IsCheckTimeSet()){
				m_sLastErrMsg = "Miss Param:checkTime";
				return false;
			}

			if(!IsRowCreatDateSet()){
				m_sLastErrMsg = "Miss Param:rowCreatDate";
				return false;
			}

			if(!IsCreatorSysNoSet()){
				m_sLastErrMsg = "Miss Param:creatorSysNo";
				return false;
			}

			if(!IsModifyUserSysNoSet()){
				m_sLastErrMsg = "Miss Param:modifyUserSysNo";
				return false;
			}

			if(!IsModifyTimeSet()){
				m_sLastErrMsg = "Miss Param:modifyTime";
				return false;
			}

			if(!IsStatusSet()){
				m_sLastErrMsg = "Miss Param:status";
				return false;
			}

			if(!IsPropertySet()){
				m_sLastErrMsg = "Miss Param:property";
				return false;
			}

			if(!IsExternSet()){
				m_sLastErrMsg = "Miss Param:extern";
				return false;
			}
			return true;
		}

		void DumpData(std::ostream& oss) const{
		
			oss<<"[dwVersion:"<<dwVersion<<"] ";
			oss<<"[cVersion_u:"<<(int)cVersion_u<<"] ";
			oss<<"[dwPage:"<<dwPage<<"] ";
			oss<<"[cPage_u:"<<(int)cPage_u<<"] ";
			oss<<"[dwPageSize:"<<dwPageSize<<"] ";
			oss<<"[cPageSize_u:"<<(int)cPageSize_u<<"] ";
			oss<<"[wOrderType:"<<(int)wOrderType<<"] ";
			oss<<"[cOrderType_u:"<<(int)cOrderType_u<<"] ";
		//嵌套内容有错误，建议使用dumpDataTree方法，复杂数据格式更直观！
			oss<<"[cIdList_u:"<<(int)cIdList_u<<"] ";
			oss<<"[ddwStockBillMasterSysno:"<<ddwStockBillMasterSysno<<"] ";
			oss<<"[cStockBillMasterSysno_u:"<<(int)cStockBillMasterSysno_u<<"] ";
			oss<<"[ddwStockSysNo:"<<ddwStockSysNo<<"] ";
			oss<<"[cStockSysNo_u:"<<(int)cStockSysNo_u<<"] ";
			oss<<"[ddwProductSysNo:"<<ddwProductSysNo<<"] ";
			oss<<"[cProductSysNo_u:"<<(int)cProductSysNo_u<<"] ";
			oss<<"[ddwBranchSysNo:"<<ddwBranchSysNo<<"] ";
			oss<<"[cBranchSysNo_u:"<<(int)cBranchSysNo_u<<"] ";
			oss<<"[dwQty:"<<dwQty<<"] ";
			oss<<"[cQty_u:"<<(int)cQty_u<<"] ";
			oss<<"[wDisassemblebillType:"<<(int)wDisassemblebillType<<"] ";
			oss<<"[cDisassemblebillType_u:"<<(int)cDisassemblebillType_u<<"] ";
			oss<<"[dwCheckTime:"<<dwCheckTime<<"] ";
			oss<<"[cCheckTime_u:"<<(int)cCheckTime_u<<"] ";
			oss<<"[dwRowCreatDate:"<<dwRowCreatDate<<"] ";
			oss<<"[cRowCreatDate_u:"<<(int)cRowCreatDate_u<<"] ";
			oss<<"[ddwCreatorSysNo:"<<ddwCreatorSysNo<<"] ";
			oss<<"[cCreatorSysNo_u:"<<(int)cCreatorSysNo_u<<"] ";
			oss<<"[ddwModifyUserSysNo:"<<ddwModifyUserSysNo<<"] ";
			oss<<"[cModifyUserSysNo_u:"<<(int)cModifyUserSysNo_u<<"] ";
			oss<<"[dwModifyTime:"<<dwModifyTime<<"] ";
			oss<<"[cModifyTime_u:"<<(int)cModifyTime_u<<"] ";
			oss<<"[dwStatus:"<<dwStatus<<"] ";
			oss<<"[cStatus_u:"<<(int)cStatus_u<<"] ";
		//嵌套内容有错误，建议使用dumpDataTree方法，复杂数据格式更直观！
			oss<<"[cProperty_u:"<<(int)cProperty_u<<"] ";

			std::map<std::string,std::string>::const_iterator itmapExtern=mapExtern.begin();
			std::map<std::string,std::string>::const_iterator itmapExternEnd=mapExtern.end();
			for(;itmapExtern!=itmapExternEnd;itmapExtern++)
				oss<<"[mapExtern:"<<itmapExtern->second<<"] ";
			oss<<"[cExtern_u:"<<(int)cExtern_u<<"] ";
		
		}

		// codydeng提供,非常好的dump方法 ^-^  。。。。。
		template<typename T>
		T & DumpPlusData(T& oss){
			oss<<"dwVersion:"<<dwVersion;
			oss<<"[cVersion_u:"<<cVersion_u<<"] ";
			oss<<"dwPage:"<<dwPage;
			oss<<"[cPage_u:"<<cPage_u<<"] ";
			oss<<"dwPageSize:"<<dwPageSize;
			oss<<"[cPageSize_u:"<<cPageSize_u<<"] ";
			oss<<"wOrderType:"<<wOrderType;
			oss<<"[cOrderType_u:"<<cOrderType_u<<"] ";
			oss<<"setIdList:"<<setIdList;
			oss<<"[cIdList_u:"<<cIdList_u<<"] ";
			oss<<"ddwStockBillMasterSysno:"<<ddwStockBillMasterSysno;
			oss<<"[cStockBillMasterSysno_u:"<<cStockBillMasterSysno_u<<"] ";
			oss<<"ddwStockSysNo:"<<ddwStockSysNo;
			oss<<"[cStockSysNo_u:"<<cStockSysNo_u<<"] ";
			oss<<"ddwProductSysNo:"<<ddwProductSysNo;
			oss<<"[cProductSysNo_u:"<<cProductSysNo_u<<"] ";
			oss<<"ddwBranchSysNo:"<<ddwBranchSysNo;
			oss<<"[cBranchSysNo_u:"<<cBranchSysNo_u<<"] ";
			oss<<"dwQty:"<<dwQty;
			oss<<"[cQty_u:"<<cQty_u<<"] ";
			oss<<"wDisassemblebillType:"<<wDisassemblebillType;
			oss<<"[cDisassemblebillType_u:"<<cDisassemblebillType_u<<"] ";
			oss<<"dwCheckTime:"<<dwCheckTime;
			oss<<"[cCheckTime_u:"<<cCheckTime_u<<"] ";
			oss<<"dwRowCreatDate:"<<dwRowCreatDate;
			oss<<"[cRowCreatDate_u:"<<cRowCreatDate_u<<"] ";
			oss<<"ddwCreatorSysNo:"<<ddwCreatorSysNo;
			oss<<"[cCreatorSysNo_u:"<<cCreatorSysNo_u<<"] ";
			oss<<"ddwModifyUserSysNo:"<<ddwModifyUserSysNo;
			oss<<"[cModifyUserSysNo_u:"<<cModifyUserSysNo_u<<"] ";
			oss<<"dwModifyTime:"<<dwModifyTime;
			oss<<"[cModifyTime_u:"<<cModifyTime_u<<"] ";
			oss<<"dwStatus:"<<dwStatus;
			oss<<"[cStatus_u:"<<cStatus_u<<"] ";
			oss<<"setProperty:"<<setProperty;
			oss<<"[cProperty_u:"<<cProperty_u<<"] ";
			oss<<"mapExtern:"<<mapExtern;
			oss<<"[cExtern_u:"<<cExtern_u<<"] ";
			return oss;
		}

		// wileywang提供,树形dump方法 ^-^  。。。。。
		void DumpDataTree(std::ostream& os, int ident = 0)const {
			g_pprint(os, "dwVersion", dwVersion, ident);
			g_pprint(os, "cVersion_u", cVersion_u, ident);
			g_pprint(os, "dwPage", dwPage, ident);
			g_pprint(os, "cPage_u", cPage_u, ident);
			g_pprint(os, "dwPageSize", dwPageSize, ident);
			g_pprint(os, "cPageSize_u", cPageSize_u, ident);
			g_pprint(os, "wOrderType", wOrderType, ident);
			g_pprint(os, "cOrderType_u", cOrderType_u, ident);
			g_pprint(os, "setIdList", setIdList, ident);
			g_pprint(os, "cIdList_u", cIdList_u, ident);
			g_pprint(os, "ddwStockBillMasterSysno", ddwStockBillMasterSysno, ident);
			g_pprint(os, "cStockBillMasterSysno_u", cStockBillMasterSysno_u, ident);
			g_pprint(os, "ddwStockSysNo", ddwStockSysNo, ident);
			g_pprint(os, "cStockSysNo_u", cStockSysNo_u, ident);
			g_pprint(os, "ddwProductSysNo", ddwProductSysNo, ident);
			g_pprint(os, "cProductSysNo_u", cProductSysNo_u, ident);
			g_pprint(os, "ddwBranchSysNo", ddwBranchSysNo, ident);
			g_pprint(os, "cBranchSysNo_u", cBranchSysNo_u, ident);
			g_pprint(os, "dwQty", dwQty, ident);
			g_pprint(os, "cQty_u", cQty_u, ident);
			g_pprint(os, "wDisassemblebillType", wDisassemblebillType, ident);
			g_pprint(os, "cDisassemblebillType_u", cDisassemblebillType_u, ident);
			g_pprint(os, "dwCheckTime", dwCheckTime, ident);
			g_pprint(os, "cCheckTime_u", cCheckTime_u, ident);
			g_pprint(os, "dwRowCreatDate", dwRowCreatDate, ident);
			g_pprint(os, "cRowCreatDate_u", cRowCreatDate_u, ident);
			g_pprint(os, "ddwCreatorSysNo", ddwCreatorSysNo, ident);
			g_pprint(os, "cCreatorSysNo_u", cCreatorSysNo_u, ident);
			g_pprint(os, "ddwModifyUserSysNo", ddwModifyUserSysNo, ident);
			g_pprint(os, "cModifyUserSysNo_u", cModifyUserSysNo_u, ident);
			g_pprint(os, "dwModifyTime", dwModifyTime, ident);
			g_pprint(os, "cModifyTime_u", cModifyTime_u, ident);
			g_pprint(os, "dwStatus", dwStatus, ident);
			g_pprint(os, "cStatus_u", cStatus_u, ident);
			g_pprint(os, "setProperty", setProperty, ident);
			g_pprint(os, "cProperty_u", cProperty_u, ident);
			g_pprint(os, "mapExtern", mapExtern, ident);
			g_pprint(os, "cExtern_u", cExtern_u, ident);
		}
		
		//提供ToString借口，默认为DumpData格式，请按需要进行修改
		std::string ToString() const{
			std::stringstream ss;
			DumpData(ss);
			return ss.str();
		}

/**
 ********************以下信息是每个版本的字段********************
 */

};

}
}
}

#endif /* ERP_STORAGE_DDO_CDISASSEMBLEBILLFILTERDDO_BY_AUTOGEN_V5_H */
